package com.yc.damai.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author LiaoYan
 * @since 2025-09-18
 */
@Getter
@Setter
@ToString
public class Cart implements Serializable {

        private static final long serialVersionUID = 1L;

      /**
     * 购物车ID
     */
      @TableId(value = "ciid", type = IdType.AUTO)
    private Integer ciid;

      /**
     * 用户ID
     */
      private Integer uid;

      /**
     * 商品ID
     */
      private Integer pid;

      /**
     * 商品数量
     */
      private Integer count;
}
